﻿@model OnlineEducation.Areas.Student.Models.ChangePasswordModel
@{
    Layout = null;
}



<div class="modal-header">
    <h4 class="modal-title">修改密码</h4>

    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>

<form onsubmit="return SubmitForm(this,'/Student/ChangePassword/')">
    <div class="modal-body p-4">
        <div asp-validation-summary="ModelOnly" class="text-danger"></div>

        <input type="hidden" asp-for="Id" />
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label asp-for="Password" class="control-label"></label>
                    <input asp-for="Password" class="form-control" />
                    <span asp-validation-for="Password" class="text-danger"></span>
                </div>


            </div>
        </div>

    </div>

    <div class="modal-footer">
        <button type="button" class="btn btn-secondary waves-effect" data-dismiss="modal">关闭</button>
        <button type="submit" class="btn btn-primary waves-effect waves-light">保存</button>
    </div>
</form>
<script>
    Ladda.bind('.btn-primary', { timeout: 1000 });
</script>



